package com.dm.comm.vo;

public class StatusCode {
    /**
     * 成功
     */
    public static final String OK = "0000";

    public static final String NO_LOGIN = "0001";

    public static final String ERROR = "0002";
    /**
     * 用户微服务错误代码
     * ErrCode: 10**
     */
    public static class USER{
        /**
         * 邮箱格式错误
         */
        public static final String EMAIL_WRONG_PATTERN = "1001";
        /**
         * 邮箱已被注册
         */
        public static final String EMAIL_USED = "1003";
        /**
         * 验证码错误
         */
        public static final String VERIFY_CODE_ERR = "1004";
        /**
         * 手机号未被注册
         */
        public static final String PHONE_UNREGISTED = "1007";
        /**
         * 帐号或密码错误
         */
        public static final String USERNAME_PASSWORD_ERR = "1006";
        /**
         * 购票人已存在
         */
        public static final String BUY_EXISTS = "1009";
        /**
         * 联系人不存在
         */
        public static final String CONTACT_EXISTS = "1010";

    }

    /**
     * 商品微服务错误代码
     * ErrCode: 20**
     */
    public static class ITEM{

    }

    /**
     * 订单微服务错误代码
     * ErrCode: 30**
     */
    public static class ORDER{

    }

    /**
     * 支付微服务错误代码
     * ErrCode: 40**
     */
    public static class PAY{

    }

    /**
     * 排期微服务错误代码
     * ErrCode: 50**
     */
    public static class SCHEDULER{

    }

    /**
     * 基础模块微服务错误代码
     * ErrCode: 60**
     */
    public static class BASE{

    }


}
